
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>个人中心 - 胎大王</title>
	<meta charset="UTF-8">
	{include file='common/head' /}
</head>
<body>
<div class="container">
{include file='common/top' /}
	<div class="usercenter">
		<div class="contai"><span class="f-bk30"></span>
			<div class="pure-g">
				{include file='common/usermenu' /}
				<div class="pure-u-1-24">&nbsp;</div>
				<div class="pure-u-18-24 right">

					<div class="con" style="height: 100%;">
						<span class="f-bk30"></span>
						<div class="txl">
							<img src="__IMG__/usertx.png" width="150" height="150" alt="">

						</div>
						<div class="txr">

							<p>尊敬的胎大王用户您好，欢迎来到胎大王用户中心！</p>
							<p class="p2"><small>账户名：{$Think.cookie.userInfo['username']}&emsp;我的余额：{$data.balance}&emsp;我的积分：{$data.point}<span class="star"><span class="stars s1"></span></span>{$Think.cookie.userInfo['rank']}</small></p>
							<p><a href="/logout.html" class="button-secondary pure-button">切换账户 <i class="fa fa-refresh"></i></a></p>

						</div>
						<div class="f-bk3"></div>
						<div class="f-textr">上次登录时间:{$Think.cookie.userInfo['lastLogin']}</div>
						<span class="f-bk3 f-doubleBorder"></span>
						<div class="pure-g">
							<div class="blo ck1 pure-u-1-3"><div>
								消费金额：<span>{$data.amount}</span>元
							</div></div>
							<div class="blo ck2 pure-u-1-3"><div>
								<a href="/orderlist.html?status=success">已支付订单：<span>{$data.sum}</span>单</a>
							</div></div>
							<div class="blo ck3 pure-u-1-3"><div>
								<a href="/orderlist.html?status=wait">未支付订单：<span>{$data.orderSum}</span>单</a>
							</div></div>
						</div>
						<span class="f-bk6"></span>
						<div class="usercenter-detailed"><strong>最近两笔未完成订单</strong></div>
						<span class="f-bk10"></span>
						<table class="pure-table f-textc">
							<tr class="f-textc">
								<th>支付订单号</th>
								<th>预约日期</th>
								<th>订单总额</th>	
								<th>状态</th>
								<th>操作</th>
							</tr>

							{volist name="$data['orderArray']" id="vo"}
							<tr>
								<td><a style="color:#ec6c00" href="/Member/orderInfo.html?sn={$vo.sn}">{$vo.sn}</a></td>
								<td>{$vo.createDate}</td>
								<td>{$vo.amount}</td>
								<td>{$vo.status}</td>
								<td><a style="color:#ec6c00" href="/Member/orderInfo.html?sn={$vo.sn}">查看</a></td>
							</tr>
							{/volist}
						</table>
						<span class="f-bk10"></span>
						 <div class="img"><img src="__IMG__/usercenter-right.jpg" alt=""></div>
					</div>

				</div>
			</div>
		</div>
		<span class="f-bk30"></span>
	</div>
	{include file='common/foot' /}
</div>

</body>
</html>